package com.qf.leadnewsarticle.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.qfleadnewsmodel.article.dtos.ArticleHomePageDto;
import com.qf.qfleadnewsmodel.article.pojos.ApArticle;
import com.qf.qfleadnewsmodel.commons.dtos.ResponseResult;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ArticleMapper extends BaseMapper<ApArticle> {

    /*
        加载首页
        加载更多
        下拉刷新

        sql语句应该是动态变化的
     */
    List<ApArticle> selectListByCondition(ArticleHomePageDto articleHomePageDto);
}
